package com.ly.heart.domain.king.payable;

import com.ly.heart.domain.king.BaseChildBo;
import com.ly.heart.domain.king.ModelBo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@ApiModel ("应付单(采购开票)推送金蝶业务对象")
@Accessors (chain = true)
public class PayableBo extends ModelBo {

    @ApiModelProperty ("供应商")
    private BaseChildBo FSUPPLIERID;

    @ApiModelProperty ("采购员，User")
    private BaseChildBo FPURCHASERID;

    @ApiModelProperty ("立账类型,金蝶暂估应付为2，财务应付为3")
    private String FSetAccountType;

    @ApiModelProperty ("币别")
    private BaseChildBo FCURRENCYID;

    @ApiModelProperty ("业务日期")
    private String FDate;

    @ApiModelProperty ("到期日")
    private String FENDDATE_H;

    @ApiModelProperty ("付款条件")
    private BaseChildBo FPayConditon;

    @ApiModelProperty ("采购部门")
    private BaseChildBo FPURCHASEDEPTID;

    @ApiModelProperty ("按费用项目生成计划")
    private Boolean FIsGeneratePlanByCostItem;

    @ApiModelProperty ("价外税，默认false")
    private Boolean FISPRICEEXCLUDETAX = false;

    @ApiModelProperty ("按含税单价录入，默认false")
    private Boolean FISTAX = false;

    @ApiModelProperty ("税额计入成本，默认false")
    private Boolean FISTAXINCOST = false;

    @ApiModelProperty ("先到票后入库，默认false")
    private Boolean FISINVOICEARLIER = false;

    @ApiModelProperty ("供应商子对象")
    private FsubHeadSuppiler fsubHeadSuppiler;

    @ApiModelProperty ("财务子对象")
    private FsubHeadFinc fsubHeadFinc;

    @ApiModelProperty ("明细行")
    private List<FEntityDetail> FEntityDetail;

    @ApiModelProperty ("付款计划")
    private List<FEntityPlan> FEntityPlan;


}
